Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chromium and node #22

Merged
merged 5 commits into from
May 6, 2024
Merged

Update chromium and node #22

merged 5 commits into from
May 6, 2024

Conversation

bakerac4
Copy link
Member

@bakerac4 bakerac4 commented May 6, 2024

No description provided.

@bakerac4 bakerac4 requested review from billdami and Hargrav3s May 6, 2024 15:10
@bakerac4 bakerac4 merged commit bd6c2e3 into master May 6, 2024
1 check passed
@bakerac4 bakerac4 deleted the change-chromium branch May 6, 2024 16:07
@@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v3
- uses: volta-cli/action@v1
with:
node-version: 14.x
node-version: 18.x
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should upgrade to use 20

headless: chromium.headless,
ignoreHTTPSErrors: true,
executablePath: chromiumPath,
headless: !!process?.env?.BROWSER_HEADLESS === false ? false : true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should follow what the spazium lib does: https://github.com/Sparticuz/chromium?tab=readme-ov-file#usage and use chromium.headless

"puppeteer-core": "^13.5.1",
"puppeteer-report": "^3.0.2"
},
"publishConfig": {
"access": "public"
},
"volta": {
"node": "14.19.1"
"node": "18.16.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, should use node 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants